package com.brspace.qualitycontrol.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brspace.qualitycontrol.entity.NewNotice;
import com.brspace.qualitycontrol.entity.vo.NoticeTypeVo;
import com.brspace.qualitycontrol.entity.vo.NoticeVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 新建通知 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-04-02
 */
public interface NewNoticeMapper extends BaseMapper<NewNotice> {

    //查询指定日期的通知消息
    List<NoticeVo> getDayList(@Param("noticeDate") Date noticeDate);

    //获取今天之后有通知的日期
    List<String> getNoticeAfter();

    //分页查询会议和通知消息
    List<NoticeTypeVo> selectAllList();
}
